﻿﻿using System;
using System.Collections.Generic;
using System.Web;
namespace WebApplication1.DDD.Web.Default.Common.Public
{
    public class HeaderAction  : Controller
	{
		#if (!AspNET && !MicrosoftOwin && !NFinalOwin)
		public HeaderAction(HttpContext context):base(context){}
		public HeaderAction(Microsoft.Owin.IOwinContext context):base(context){}
		public HeaderAction(NFinal.Owin.HtmlWriter writer,NFinal.Owin.Request request):base(writer,request){}
		#endif
		#if AspNET
		public HeaderAction(HttpContext context):base(context){}
		#endif
		#if MicrosoftOwin
		public HeaderAction(Microsoft.Owin.IOwinContext context):base(context){}
		#endif
		#if NFinalOwin
		public HeaderAction(string fileName, NFinal.Owin.Request request, NFinal.CompressMode compressMode) :base(fileName,request,compressMode){}
		public HeaderAction(System.IO.Stream stream,NFinal.Owin.Request request, NFinal.CompressMode compressMode) : base(stream,request,compressMode) {}
		public HeaderAction(System.Collections.Generic.IDictionary<string, object> enviroment, NFinal.Owin.Request request, NFinal.CompressMode compressMode):base(enviroment,request,compressMode){}
		#endif
		public HeaderAction(Controller controller):base(controller){}
        
        
        public void Header()
        {
            string message=null;
            
			Write("<header class=\"header\"> NFinal框架:这是头,来自模版 </header>");
        }
        
        
		
    }
}